Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: no balance duplicate transaction #2912

Merged
merged 1 commit into from
Dec 16, 2024
Merged

fix: no balance duplicate transaction #2912

merged 1 commit into from
Dec 16, 2024

Conversation

mfrankovi
Copy link
Contributor

Due to dag reordering it is possible to include a transaction with no balance in a pbft block. Evm does not increase account nonce for such a transactions. Because of that and relying on nonce to detect duplciate transactions it is possible to include same transaction in two different block.

The fix is to check the entire transactions history.

@mfrankovi mfrankovi merged commit 4fef314 into develop Dec 16, 2024
5 checks passed
@mfrankovi mfrankovi deleted the no_balance_nonce branch December 16, 2024 16:05
@taraxadeploy
Copy link
Collaborator

prnet cleaned-up successfully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants